//
//  LDTNetWorkRequestManager.h
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import <Foundation/Foundation.h>

//定义枚举
typedef NS_ENUM(NSInteger){
    LDT_GET,
    LDT_POST
}URLRequestMethod;

//定义返回值block网络请求结果
typedef void(^ResultBlock)(NSData *data,NSURLResponse *response,NSError *error);


@interface LDTNetWorkRequestManager : NSObject



///请求方法
+ (void)requestURL:(NSURL*)url Method:(URLRequestMethod)method Params:(NSDictionary *)params Result:(ResultBlock)resultBlock;


@end
